package com.example.spring.family.init;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @program: knowledge-pooling
 * @ClassName ApplicationListenerTest
 * @description:
 * @author: tomato
 * @create: 2024-07-07 20:11
 * @Version 1.0
 **/
@Component
public class ApplicationListenerTest implements ApplicationListener {
    @Override
    public void onApplicationEvent(ApplicationEvent event) {
        System.out.println("ApplicationListener 方法执行...");
    }
}
